<template>
    <div class="goodsk1" @click="emitid">
        这里是 goodk1ids
        <p>{{ids}},</p>
        <p>{{def}},</p>
        <p>{{content}},</p>
        <img :src="img" alt="">
    </div>
</template>
<script>
export default {
    name:'goodsk1',
    props:['ids','img','def','content'],
    methods:{
        emitid(){
            window.console.log(this.ids)
        }
    }

}
</script>
<style>
    
</style>